f = open("test.txt","r")
content = f.read(5)#一次读五个字符
print(content)
print('-'*30)
content = f.read()
print(content)
f.close()